import { getAction, deleteAction, putAction, postAction, postParamsAction, httpAction } from '@/api/manage'
// import Vue from 'vue'
// import {UI_CACHE_DB_DICT_DATA } from "@/store/mutation-types"


//资产处置
const assetDisposal= (params)=>postParamsAction("/zcgl/assetInfo/assetDisposal",params);
//查询资产的详细信息
const queryAssetInfoSubByAssetId= (params)=>getAction("/zcgl/assetInfoSub/queryAssetInfoSubByAssetIds",params);
//查询资产图片信息
const queryAssetImageByMainId= (params)=>getAction("/zcgl/assetInfo/queryAssetImageListByMainId",params);
//根据ID查询资产信息
const queryAssetById= (params)=>getAction("/zcgl/assetInfo/queryById",params);
//根据ID查询资产明细信息
const queryAssetSubById= (params)=>getAction("/zcgl/assetInfoSub/queryById",params);
//根据ID查询资产信息
const queryAssetTotalAreaByIds= (params)=>getAction("/zcgl/assetInfo/queryTotalAreaByIds",params);
const queryAssetSubTotalAreaByIds= (params)=>getAction("/zcgl/assetInfoSub/queryTotalAreaByIds",params);

export {
  assetDisposal,
  queryAssetInfoSubByAssetId,
  queryAssetImageByMainId,
  queryAssetById,
  queryAssetSubById,
  queryAssetTotalAreaByIds,
  queryAssetSubTotalAreaByIds,
}



